CodeSkelGen - A Program Skeleton Generator
نویسنده
چکیده
Existent computer programming training environments help users to learn programming by solving problems from scratch. Nevertheless, initiating the resolution of a program can be frustrating and demotivating if the student does not know where and how to start. Skeleton programming facilitates a top-down design approach, where a partially functional system with complete highlevel structures is available, so the student needs only to progressively complete or update the code to meet the requirements of the problem. This paper presents CodeSkelGen a program skeleton generator. CodeSkelGen generates skeleton or buggy Java programs from a complete annotated program solution provided by the teacher. The annotations are formally described within an annotation type and processed by an annotation processor. This processor is responsible for a set of actions ranging from the creation of dummy methods to the exchange of operator types included in the source code. The generator tool will be included in a learning environment that aims to assist teachers in the creation of programming exercises and to help students in their resolution. 1998 ACM Subject Classification D.3 Programming Languages; D.3.4 Processors; Code generation
منابع مشابه
Stub and Skeleton Generation for a Single-Sign-On Webservice supporting dynamic Objects
In this paper we present a stub and skeleton generator supporting dynamic objects for a single-sign-on webservice. This generator could produce stubs and skeletons for PHP as well as Java clients. In the case of a java client the generator provides an almost transparent view as working with a local copy of the single-sign-on solution. The situation for PHP clients is almost transparent as well ...
متن کاملRewriting Skeleton Programs: How to Evaluate the Data-parallel Stream-parallel Tradeoo
Some skeleton based parallel programming models allow the programmer to use both data and stream parallel skeletons within the same program. It is known that particular skeleton nestings can be formally rewritten into diierent nestings that preserve the functional semantics. Indeed, the kind and possibly the amount of parallelism usefully exploitable may change while rewriting takes place. Here...
متن کاملHand-Writing Program Generator Generators
In this paper we argue that hand-writing a program generator generator has a number of advantages compared to generating a program generator generator by self-application of a partial evaluator. We show the basic principles of how to construct a program generator generator by presenting a program generator generator for a skeletal language, and we argue that it is not more difficult to use the ...
متن کاملCode density optimization for embedded DSP processors using data compression techniques
We address the problem of code size minimization in VLSI systems with embedded DSP processors. Reducing code size reduces the production cost of embedded systems. We use data compression methods to develop code size minimization strategies. We present a framework for code size minimization where the compressed data consists of a dictionary and a skeleton. The dictionary can be computed using po...
متن کاملA Methodology for Program Construction by Stepwise Structural Enhancement
We advocate incremental construction of programs based on the idea of skeletons and techniques. Program construction begins bottom-up by rst identifying skeleton program(s) embodying the central data structure(s), and proceeds by building computations around the control ow of the skeleton program(s) by application of techniques. Techniques are high level abstractions for the generic, frequently...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013